package com.mark.org.mapper;

import com.mark.basic.mapper.BaseMapper;
import com.mark.org.domain.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper extends BaseMapper<Employee> {
    Employee listUserName(String username);

    void removeEmployeeRole(Long id);

    void saveEmployeeRole(@Param("rid") Long id, @Param("roles") List<Long> roles);

}